package com.dieusoft.box.trade.service;

import com.dieusoft.box.info.entity.JzxDefaultCostDetails;
import com.dieusoft.box.trade.entity.CostInfo;
import com.dieusoft.box.trade.entity.JzxTrade;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 集装箱贸易表
 * @Author: jeecg-boot
 * @Date:   2020-10-22
 * @Version: V1.0
 */
public interface IJzxTradeService extends IService<JzxTrade> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(JzxTrade jzxTrade,List<JzxDefaultCostDetails> jzxDefaultCostDetailsList,List<CostInfo> costInfoListYs,List<CostInfo> costInfoListYf) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(JzxTrade jzxTrade, List<JzxDefaultCostDetails> jzxDefaultCostDetailsList,List<CostInfo> costInfoListYs,List<CostInfo> costInfoListYf);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
